package com.lxyk.springcloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignConfig {
    @Bean
    Logger.Level feignLoggerLevel(){//Logger是feign.Logger包下的
        return Logger.Level.FULL;//FULL是包含请求头，响应体以及数据
    }
}
